package com.woniuxy.oa.entity; 
  
import java.util.Date; 

import com.fasterxml.jackson.annotation.JsonFormat;

public class Goods_purchase {
	private Integer gp_id;
	private String gp_name;
	private Integer id;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private String gp_time;
	private Integer gp_number;
	private Double gp_dprice;//单价
	private Double gp_zprice;//总价
	private Status stay;
	public Status getStay() {
		return stay;
	}
	public void setStay(Status stay) {
		this.stay = stay;
	}
	public Double getGp_dprice() {
		return gp_dprice;
	}
	public void setGp_dprice(Double gp_dprice) {
		this.gp_dprice = gp_dprice;
	}
	public Double getGp_zprice() {
		return gp_zprice;
	}
	public void setGp_zprice(Double gp_zprice) {
		this.gp_zprice = gp_zprice;
	}
	public Integer getGp_number() {
		return gp_number;
	}
	public void setGp_number(Integer gp_number) {
		this.gp_number = gp_number;
	}
	private Integer gp_status;
	private Employee employee;
	public Goods_purchase() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Integer getGp_id() {
		return gp_id;
	}
	public void setGp_id(Integer gp_id) {
		this.gp_id = gp_id;
	}
	public String getGp_name() {
		return gp_name;
	}
	public void setGp_name(String gp_name) {
		this.gp_name = gp_name;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getGp_time() {
		return gp_time;
	}
	public void setGp_time(String gp_time) {
		this.gp_time = gp_time;
	}
	public Integer getGp_status() {
		return gp_status;
	}
	public void setGp_status(Integer gp_status) {
		this.gp_status = gp_status;
	}
	public Employee getEmployee() {
		return employee;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	public Goods_purchase(Integer gp_id, String gp_name, Integer id, String gp_time, Integer gp_number,
			Double gp_dprice, Double gp_zprice) {
		super();
		this.gp_id = gp_id;
		this.gp_name = gp_name;
		this.id = id;
		this.gp_time = gp_time;
		this.gp_number = gp_number;
		this.gp_dprice = gp_dprice;
		this.gp_zprice = gp_zprice;
	}
	@Override
	public String toString() {
		return "Goods_purchase [gp_id=" + gp_id + ", gp_name=" + gp_name + ", id=" + id + ", gp_time=" + gp_time
				+ ", gp_number=" + gp_number + ", gp_dprice=" + gp_dprice + ", gp_zprice=" + gp_zprice + ", gp_status="
				+ gp_status + ", employee=" + employee + "]";
	}
	
	
	
	
	
}
